home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 016a / 4if.zip / 4IF.ALS < prev   
Text File  |  1991-11-07  |  763b  |  27 lines

  1. :      4IF.ALS by Kenneth Albanowski [70705,126]
  2. :
  3. :   This is a set of aliases for 4DOS Version 4.0.
  4. :
  5. :   Load it with ALIAS /R 4IF.ALS
  6. :
  7. :   Have you ever had a problem with 4DOS where a batch file
  8. :   fails with dozens of IF & IFF errors?  These aliases replace
  9. :   the standard IF commands with aliases that will display the
  10. :   command excuted if the IF fails.
  11. :
  12. :   This means that the following command:
  13. :
  14. :     IF ABCDEF 1 echo yes      ^REM  This is a *BAD* IF command
  15. :
  16. :   Will produce the following output if ECHO is off:
  17. :
  18. :     Bad IF! 'ABCDEF 1 echo yes'
  19. :
  20. : If you need to contact me, send E-Mail to [70705,126]
  21.  
  22. IF=*IF %&||echo Bad IF! '%&'
  23. IFF=*IFF %&||echo Bad IFF! '%&'
  24. ELSEIFF=*ELSEIFF %&||echo Bad ELSEIFF! '%&'
  25.  
  26.  
  27.